package com.cxcy.swustlearner.mapper;

import com.cxcy.swustlearner.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegisterMapper {
    @Insert("insert into users (username,password,student_id,entry_time,college_id,major_id,class_id,telephone,email,gender,uid) values (#{username},#{password},#{studentId},NOW(),#{collegeId},#{majorId},#{classId},#{telephone},#{email},#{gender},#{uid})")
    void insertUser(User user);
}